package com.guet.careapp.service;

import com.guet.careapp.controller.rest.common.errorCode.Error;
import com.guet.careapp.pojo.TUserInfo;
import com.guet.careapp.service.base.ServiceSupport;

import java.util.Map;

/**
 * Created by LXM on 2017/10/27.
 *
 * @author LXM
 * @version 1.0
 * @description
 * @datetime 11:44
 */
public interface IUserInfoService extends ServiceSupport<TUserInfo> {

  Error checkVerify(String tel, String verify);

  Error registe(String username, String psw, String tel, String type,String device);

  Error askForVerifyCode(String phone);

  Error changeInfo(Map map);

  Error login(Map map);
}
